package com.cn.indentManage.service;

import java.util.List;
import java.util.Map;

import org.springframework.ui.Model;

import com.cn.indentManage.entity.Page;

public interface IndentService {
	Page selectAllIndents(Model model,int currentPage);//查询订单
	Page selectAllIndentbystatus(Model model,int currentPage,Integer status);//通过订单状态查询订单
	List<Map<String,Object>> selectIndent(Model model,int indentId);//通过订单ID查询订单
	void upIndentByindentId(int indentId,int status);//修改订单状态
	List<Map<String, Object>>selectIndentXq(int indentId,Model model);//查询订单详情
	List<Map<String,Object>>selectpeijianXq(int goodsId);//查询配件详情
	List<Map<String,Object>>selectpeijianXq2(int goodsId);//查询配件的单个详情
	
}
